//
//  YQPubTableViewCell.m
//  EPA--1
//
//  Created by lanou3g on 16/4/24.
//  Copyright © 2016年 刘永庆. All rights reserved.


#import "YQPubTableViewCell.h"
#import "YQPubModel.h"
@interface YQPubTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UIImageView *coverImg;
@property (weak, nonatomic) IBOutlet UILabel *buyUrl;

@end
@implementation YQPubTableViewCell

- (void)awakeFromNib {
    self.titleLable.text = self.model.title;
    [self.coverImg sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.buyUrl.text = self.model.buyurl;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
